<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<table border="2">
    <thead>
       <tr>
          <td>学号</td>
          <td>姓名</td>
       </tr>
    </thead>
    <tbody>
    <tr th:each="student : ${students}">
        <td th:text="${student.id}">id</td>
        <td th:text="${student.name}">name</td>
    </tr>
    </tbody>
</table>
</body>
</html>